package StudyCode.summary.mycollection;

import java.util.LinkedHashMap;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CheckIfAParticularValueExistsInLinkedHashMap {
	public static void main(String[] args) {
		LinkedHashMap lHashMap = new LinkedHashMap();
		lHashMap.put("1", "One");
		lHashMap.put("2", "Two");
		lHashMap.put("3", "Three");

		boolean blnExists = lHashMap.containsValue("Two");
		System.out.println("LinkedHashMap 是否存在 Two? : " + blnExists);
	}
}
